#include <QApplication>
#include <QPushButton>


int main_1(int argc, char *argv[]){
    
    QApplication *app= new QApplication(argc,argv);
    QPushButton *mybutton= new QPushButton("Merhaba lan");

    mybutton->resize(120,240);

    //my button objesinde clicked signali var
    //ona triggger olunca diger bir slot cagiriliyor
    QObject :: connect (mybutton,SIGNAL(clicked()),app,SLOT(quit()));

    mybutton->show();
    
    //pass control to the QT
    return app->exec();

}
